QuickOPC User's Guide and Reference
ErrorMessage Property (UABaseVariable<TValue,TAttribute>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Modelling Namespace > UABaseVariable<TValue,TAttribute> Class : ErrorMessage Property
Contains the error message. An empty string if the operation has been successful.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<MappingTagAttribute("OpcLabs.EasyOpc.UA.Modelling.VariableValue")>
<NotNullAttribute()>
<UADataAttribute(UADataMappingKind.ErrorCode Or  _
    UADataMappingKind.Exception Or  _
    UADataMappingKind.ErrorMessage)>
Public Property ErrorMessage As String
'Usage
 
Dim instance As UABaseVariable(Of TValue,TAttribute)
Dim value As String
 
instance.ErrorMessage = value
 
value = instance.ErrorMessage
[DefaultValue()]
[MappingTag("OpcLabs.EasyOpc.UA.Modelling.VariableValue")]
[NotNull()]
[UAData(UADataMappingKind.ErrorCode | 
    UADataMappingKind.Exception | 
    UADataMappingKind.ErrorMessage)]
public string ErrorMessage {get; set;}
[DefaultValue()]
[MappingTag("OpcLabs.EasyOpc.UA.Modelling.VariableValue")]
[NotNull()]
[UAData(UADataMappingKind.ErrorCode | 
    UADataMappingKind.Exception | 
    UADataMappingKind.ErrorMessage)]
public:
property String^ ErrorMessage {
   String^ get();
   void set (    String^ value);
}
Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

UABaseVariable<TValue,TAttribute> Class
UABaseVariable<TValue,TAttribute> Members